package com.cxh.rmsq.event;

/**
 * Create on 2019-05-08.
 */

public class EventMessage {
    public enum EventState {
        LOGIN_SUCCESS,
        WECHAT_PAY_SUCCESS,
        ALI_PAY_SUCCESS,
        WECHAT_PAY_ERROR,
        ALI_PAY_ERROR,
        WECHAT_LOGIN_OK,
        WECHAT_LOGIN_OneKey,
        WECHAT_LOGIN_ERR,
        PUSH_ORDER,
        PUSH_ORDER_CLICK,
        PUSH_SYSTEM,
        TEST_COMMENT_VISIBLE,
        TEST_COMMENT_INVISIBLE,
        TEST_WRITE_MODEL,
        TEST_IN_MIND_MODEL,
        VIDEO_PLAY_COMPLETE,
        COMMENT_SUBMIT,
        ASK_SUBMIT,
        QUESTION_SETTING_FONT_SIZE,
        QUESTION_SETTING_FONT_SIZE2,
        QUESTION_SETTING_FONT_SIZE3,
        QUESTION_SETTING_FONT_SIZE4,
        ERR_CORRECTION,
        LOCATION_SUCCESS,
        COURSE_ENTITY,
        PUBLISH,

        PROJECT_SUCESS,
        PROJECT_SUCESS2,
        WORKBENCH,
        PUSH_SHOW_WINDOW,//显示推送弹窗
        CONTRACT_LIST_FILTER,//合同列表筛选
        CONTRACT_LIST_SEARCH,//合同列表搜索
    }

    private EventState mState;
    private Object mObject;

    public EventMessage(EventState state, Object object) {
        mState = state;
        mObject = object;
    }

    public EventState getState() {
        return mState;
    }

    public void setState(EventState state) {
        mState = state;
    }

    public Object getObject() {
        return mObject;
    }

    public void setObject(Object object) {
        mObject = object;
    }
}
